<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>订单列表</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<style>
		#ak{width:800px;margin-top:-582px;margin-left:320px;}
		#hea{border-bottom:2px solid #eaeaea;padding-bottom:6px;}
		#hea a{padding:8px 30px;font-size:18px;}
		#hea a:hover{color:#555;}
		#fir input,select{height:24px;}
		#fir{float:right;margin-top:-36px;margin-right:230px;}
		#fir input[type=text]{width:190px;}
		select{width:100px;border-radius:3px;}
		#user{font-size:14px;}
		#tou li{display:inline-block;font-size:14px;}
		#tou{background-color:#F5F5F5;border:1px solid #E8E8E8;padding:8px 0;margin-top:56px;}
		#list>li{height:auto;border:1px solid #E8E8E8;margin:14px 0;}
		.zhu{background-color:#F5F5F5;padding:8px 0 8px 30px;margin:0;}
		.zhu span{margin-right:80px;}
		#list img{width:90px;height:90px;}
		.p{margin:5px 0 5px 100px;font-size:14px;}
		#list .name{margin-left:10px;position:absolute;margin-top:18px;}
		#sp{margin:0 153px;}
		#list .in{width:270px;text-align:left;display:inline-block;margin-left:-40px;}
		#list .price{margin-left:330px;position:absolute;margin-top:-60px;}
		#list .num{position:absolute;margin-top:-60px;margin-left:456px;}
		#list .cost{position:absolute;margin-top:-60px;margin-left:562px;}
		#list .sta{position:absolute;margin-top:-60px;margin-left:680px;}
		.kg{margin-right:88px;}
		.a{height:540px;}
		#paging{float:right;margin-top:-20px;}
		#paging a{font-size:14px;height:26px;line-height:26px;}
		#noo{border:1px solid #eaeaea;width:100%;text-align:center;line-height:100px;}
		.gs{position:absolute;margin: -50px 0 0 160px;font-size:10px;}
		.gs span{line-height:18px;}
		#wq{width:500px;height:300px;margin:-480px 0 160px 450px;}
		#wq>img{margin-left:196px;margin-top:56px;}
		#wq>p{font-size:16px;text-align:center;}
		#wq a{text-decoration: underline;}
	</style>
	<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
	<script type="text/javascript" src="js/allOrder.js"></script>
  </head>
  
  <body>
  	<input type="hidden" value="${type }" id="ty"/>
	<%@ include file="topBar.jsp" %>
    <%@ include file="leftBar.jsp" %>
    <c:if test="${type==1 }">
	    <div id="kz"> 
	    <div id="ak">
	    	<p id="hea"><a href="javascript:findTypeStatus(0,0)">所有订单</a>|<a href="javascript:findTypeStatus(1,0)">待审核</a>|<a href="javascript:findTypeStatus(2,0)">审核通过</a>|
	    	<a href="javascript:findTypeStatus(3,0)">配货</a>|<a href="javascript:findTypeStatus(4,0)">已发货</a>|<a href="javascript:findTypeStatus(5,0)">已收货</a></p>
	    	<div id="cen">
	    	<p id="thr"><span id="user">用户搜索:&nbsp;</span><select id="allUser">
	    		
	    	</select></p>
	    	<p id="fir"><input type="text" placeholder="商品名称/订单号" id="con"/><input type="button" id="ser" value="订单搜索"/></p>
	    	<div class="pages" id="paging">
	    		
	    	</div>
	    	<ul id="tou"><li id="sp">商品</li><li class="kg">单价</li><li class="kg">数量</li><li class="kg">总价</li><li>状态</li></ul>
	    	<ul id="list">
	    		
	    	</ul>
	    	</div>
	    </div>
	    </div>
    </c:if>
    <c:if test="${type!=1}">
    	<div id="wq" class="left_m">
    		<img src="images/lock.png"/>
    		<p>您无权查看此页面,<br/>请<a href="Login.jsp">登录</a>到管理员账号查看</p>
    	</div>
    </c:if>
    <div id="bt">
   <%@ include file="bottomBar.jsp" %>
   </div>
  </body>
</html>
